package com.commerceE.service;

import java.util.List;

import com.commerceE.common.exception.ServiceException;
import com.commerceE.domain.Images;

public interface ImageService {
	
	public void insertImage(Images image) throws ServiceException;

	public void updateImage(Images image) throws ServiceException;

	public void deleteImage(Long imageId) throws ServiceException;
	
	public List<Images> getImagesByInstanceId(Long instanceId);
	
	public Images getProductSmallImage(Long instanceId);
	
	public Images getProductBestBuyImage(Long instanceId);
	
	public List<Images> getProductRegularImage(Long instanceId);
	
	public List<Images> getImagesByInstanceIdAndImageType(Long instanceId, String imageType);

}
